package com.szeldon.declatest.exec.events.dostep.jms;

import java.util.Date;

import com.szeldon.declatest.exec.events.dostep.DoScenarioStepExecEvent;

public class JmsMessageReceivedExecEvent extends DoScenarioStepExecEvent {

    private String destinationType;
    private String destinationName;
    private String messageContent;

    /**
     * 
     * @param scenarioId
     * @param eventDescription
     * @param eventDate
     * @param stepId
     * @param stepDescription
     * @param stepEndpointId
     * @param stepRequestPath
     * @param endpointDescription
     * @param endpointUrl
     * @param endpointSettingsId
     * @param destinationType
     * @param destinationName
     * @param responseContent
     */
    public JmsMessageReceivedExecEvent(String scenarioId, String eventDescription, Date eventDate, String stepId,
            String stepDescription, String stepEndpointId, String stepRequestPath, String endpointDescription,
            String endpointUrl, String endpointSettingsId, String destinationType, String destinationName,
            String messageContent) {
        super(scenarioId, eventDescription, eventDate, stepId, stepDescription, stepEndpointId, stepRequestPath,
                endpointDescription, endpointUrl, endpointSettingsId);
        this.destinationType = destinationType;
        this.destinationName = destinationName;
        this.messageContent = messageContent;
    }

    public String getDestinationType() {
        return destinationType;
    }

    public String getDestinationName() {
        return destinationName;
    }

    public String getMessageContent() {
        return messageContent;
    }

    @Override
    public String toString() {
        return super.toString() + "destinationType=" + destinationType + "; destinationName=" + destinationName + ";";
    }

}
